home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
makefiles
/
Makerules.subsrc
< prev
next >
Wrap
Text File
|
1992-09-28
|
865b
|
25 lines
include ${GEOM}/makefiles/Makedefs.SUBDIRS
#
# Where multiple source directories' files feed into a common library,
# use Makerules.commonsrc in the common parent Makefile
# and use Makerules.subsrc (this file) in each leaf Makefile.
# Typing "make" in the common parent propagates "make all" to the
# leaf directories, causing only their object files to be compiled.
# The parent Makerules.commonsrc then archives all the object files.
# Typing "make" in the leaf source directories invokes "make lib",
# which (possibly) compiles and (always) archives just that
# directory's object files. We propagate "make lib" rather than the usual
# "make all" since we've made "lib" the first target.
lib:
all lib install ${TARGETS} ${LIB} ${COMMONLIB} ${OBJS}: _always
@${DO_DIRS_THIS_MACH}
install: formatman installman
include ${GEOM}/makefiles/Makerules.allsrc